3.255 \(\int \frac{x^2 \log (c (a+\frac{b}{x^3})^p)}{d+e x} \, dx\)

Optimal. Leaf size=666 \[ -\frac{d^2 p \text{PolyLog}\left (2,\frac{\sqrt [3]{a} (d+e x)}{\sqrt [3]{a} d-\sqrt [3]{b} e}\right )}{e^3}-\frac{d^2 p \text{PolyLog}\left (2,\frac{\sqrt [3]{a} (d+e x)}{\sqrt [3]{a} d+\sqrt [3]{-1} \sqrt [3]{b} e}\right )}{e^3}-\frac{d^2 p \text{PolyLog}\left (2,\frac{\sqrt [3]{a} (d+e x)}{\sqrt [3]{a} d-(-1)^{2/3} \sqrt [3]{b} e}\right )}{e^3}+\frac{3 d^2 p \text{PolyLog}\left (2,\frac{e x}{d}+1\right )}{e^3}+\frac{\sqrt [3]{b} d p \log \left (a^{2/3} x^2-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3}\right )}{2 \sqrt [3]{a} e^2}+\frac{b^{2/3} p \log \left (a^{2/3} x^2-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3}\right )}{4 a^{2/3} e}-\frac{b^{2/3} p \log \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )}{2 a^{2/3} e}-\frac{\sqrt{3} b^{2/3} p \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{2 a^{2/3} e}+\frac{d^2 \log (d+e x) \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^3}-\frac{d x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^2}+\frac{x^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{2 e}-\frac{d^2 p \log (d+e x) \log \left (-\frac{e \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )}{\sqrt [3]{a} d-\sqrt [3]{b} e}\right )}{e^3}-\frac{d^2 p \log (d+e x) \log \left (-\frac{e \left (\sqrt [3]{a} x+(-1)^{2/3} \sqrt [3]{b}\right )}{\sqrt [3]{a} d-(-1)^{2/3} \sqrt [3]{b} e}\right )}{e^3}-\frac{d^2 p \log (d+e x) \log \left (\frac{\sqrt [3]{-1} e \left ((-1)^{2/3} \sqrt [3]{a} x+\sqrt [3]{b}\right )}{\sqrt [3]{a} d+\sqrt [3]{-1} \sqrt [3]{b} e}\right )}{e^3}-\frac{\sqrt [3]{b} d p \log \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )}{\sqrt [3]{a} e^2}+\frac{\sqrt{3} \sqrt [3]{b} d p \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{\sqrt [3]{a} e^2}+\frac{3 d^2 p \log \left (-\frac{e x}{d}\right ) \log (d+e x)}{e^3} \]

[Out]

(Sqrt[3]*b^(1/3)*d*p*ArcTan[(b^(1/3) - 2*a^(1/3)*x)/(Sqrt[3]*b^(1/3))])/(a^(1/3)*e^2) - (Sqrt[3]*b^(2/3)*p*Arc
Tan[(b^(1/3) - 2*a^(1/3)*x)/(Sqrt[3]*b^(1/3))])/(2*a^(2/3)*e) - (d*x*Log[c*(a + b/x^3)^p])/e^2 + (x^2*Log[c*(a
 + b/x^3)^p])/(2*e) - (b^(1/3)*d*p*Log[b^(1/3) + a^(1/3)*x])/(a^(1/3)*e^2) - (b^(2/3)*p*Log[b^(1/3) + a^(1/3)*
x])/(2*a^(2/3)*e) + (d^2*Log[c*(a + b/x^3)^p]*Log[d + e*x])/e^3 + (3*d^2*p*Log[-((e*x)/d)]*Log[d + e*x])/e^3 -
 (d^2*p*Log[-((e*(b^(1/3) + a^(1/3)*x))/(a^(1/3)*d - b^(1/3)*e))]*Log[d + e*x])/e^3 - (d^2*p*Log[-((e*((-1)^(2
/3)*b^(1/3) + a^(1/3)*x))/(a^(1/3)*d - (-1)^(2/3)*b^(1/3)*e))]*Log[d + e*x])/e^3 - (d^2*p*Log[((-1)^(1/3)*e*(b
^(1/3) + (-1)^(2/3)*a^(1/3)*x))/(a^(1/3)*d + (-1)^(1/3)*b^(1/3)*e)]*Log[d + e*x])/e^3 + (b^(1/3)*d*p*Log[b^(2/
3) - a^(1/3)*b^(1/3)*x + a^(2/3)*x^2])/(2*a^(1/3)*e^2) + (b^(2/3)*p*Log[b^(2/3) - a^(1/3)*b^(1/3)*x + a^(2/3)*
x^2])/(4*a^(2/3)*e) - (d^2*p*PolyLog[2, (a^(1/3)*(d + e*x))/(a^(1/3)*d - b^(1/3)*e)])/e^3 - (d^2*p*PolyLog[2,
(a^(1/3)*(d + e*x))/(a^(1/3)*d + (-1)^(1/3)*b^(1/3)*e)])/e^3 - (d^2*p*PolyLog[2, (a^(1/3)*(d + e*x))/(a^(1/3)*
d - (-1)^(2/3)*b^(1/3)*e)])/e^3 + (3*d^2*p*PolyLog[2, 1 + (e*x)/d])/e^3

________________________________________________________________________________________

Rubi [A]  time = 0.730573, antiderivative size = 666, normalized size of antiderivative = 1., number of steps used = 34, number of rules used = 18, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.783, Rules used = {2466, 2448, 263, 200, 31, 634, 617, 204, 628, 2455, 292, 2462, 260, 2416, 2394, 2315, 2393, 2391} \[ -\frac{d^2 p \text{PolyLog}\left (2,\frac{\sqrt [3]{a} (d+e x)}{\sqrt [3]{a} d-\sqrt [3]{b} e}\right )}{e^3}-\frac{d^2 p \text{PolyLog}\left (2,\frac{\sqrt [3]{a} (d+e x)}{\sqrt [3]{a} d+\sqrt [3]{-1} \sqrt [3]{b} e}\right )}{e^3}-\frac{d^2 p \text{PolyLog}\left (2,\frac{\sqrt [3]{a} (d+e x)}{\sqrt [3]{a} d-(-1)^{2/3} \sqrt [3]{b} e}\right )}{e^3}+\frac{3 d^2 p \text{PolyLog}\left (2,\frac{e x}{d}+1\right )}{e^3}+\frac{\sqrt [3]{b} d p \log \left (a^{2/3} x^2-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3}\right )}{2 \sqrt [3]{a} e^2}+\frac{b^{2/3} p \log \left (a^{2/3} x^2-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3}\right )}{4 a^{2/3} e}-\frac{b^{2/3} p \log \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )}{2 a^{2/3} e}-\frac{\sqrt{3} b^{2/3} p \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{2 a^{2/3} e}+\frac{d^2 \log (d+e x) \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^3}-\frac{d x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^2}+\frac{x^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{2 e}-\frac{d^2 p \log (d+e x) \log \left (-\frac{e \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )}{\sqrt [3]{a} d-\sqrt [3]{b} e}\right )}{e^3}-\frac{d^2 p \log (d+e x) \log \left (-\frac{e \left (\sqrt [3]{a} x+(-1)^{2/3} \sqrt [3]{b}\right )}{\sqrt [3]{a} d-(-1)^{2/3} \sqrt [3]{b} e}\right )}{e^3}-\frac{d^2 p \log (d+e x) \log \left (\frac{\sqrt [3]{-1} e \left ((-1)^{2/3} \sqrt [3]{a} x+\sqrt [3]{b}\right )}{\sqrt [3]{a} d+\sqrt [3]{-1} \sqrt [3]{b} e}\right )}{e^3}-\frac{\sqrt [3]{b} d p \log \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )}{\sqrt [3]{a} e^2}+\frac{\sqrt{3} \sqrt [3]{b} d p \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{\sqrt [3]{a} e^2}+\frac{3 d^2 p \log \left (-\frac{e x}{d}\right ) \log (d+e x)}{e^3} \]

Antiderivative was successfully verified.

[In]

Int[(x^2*Log[c*(a + b/x^3)^p])/(d + e*x),x]

[Out]

(Sqrt[3]*b^(1/3)*d*p*ArcTan[(b^(1/3) - 2*a^(1/3)*x)/(Sqrt[3]*b^(1/3))])/(a^(1/3)*e^2) - (Sqrt[3]*b^(2/3)*p*Arc
Tan[(b^(1/3) - 2*a^(1/3)*x)/(Sqrt[3]*b^(1/3))])/(2*a^(2/3)*e) - (d*x*Log[c*(a + b/x^3)^p])/e^2 + (x^2*Log[c*(a
 + b/x^3)^p])/(2*e) - (b^(1/3)*d*p*Log[b^(1/3) + a^(1/3)*x])/(a^(1/3)*e^2) - (b^(2/3)*p*Log[b^(1/3) + a^(1/3)*
x])/(2*a^(2/3)*e) + (d^2*Log[c*(a + b/x^3)^p]*Log[d + e*x])/e^3 + (3*d^2*p*Log[-((e*x)/d)]*Log[d + e*x])/e^3 -
 (d^2*p*Log[-((e*(b^(1/3) + a^(1/3)*x))/(a^(1/3)*d - b^(1/3)*e))]*Log[d + e*x])/e^3 - (d^2*p*Log[-((e*((-1)^(2
/3)*b^(1/3) + a^(1/3)*x))/(a^(1/3)*d - (-1)^(2/3)*b^(1/3)*e))]*Log[d + e*x])/e^3 - (d^2*p*Log[((-1)^(1/3)*e*(b
^(1/3) + (-1)^(2/3)*a^(1/3)*x))/(a^(1/3)*d + (-1)^(1/3)*b^(1/3)*e)]*Log[d + e*x])/e^3 + (b^(1/3)*d*p*Log[b^(2/
3) - a^(1/3)*b^(1/3)*x + a^(2/3)*x^2])/(2*a^(1/3)*e^2) + (b^(2/3)*p*Log[b^(2/3) - a^(1/3)*b^(1/3)*x + a^(2/3)*
x^2])/(4*a^(2/3)*e) - (d^2*p*PolyLog[2, (a^(1/3)*(d + e*x))/(a^(1/3)*d - b^(1/3)*e)])/e^3 - (d^2*p*PolyLog[2,
(a^(1/3)*(d + e*x))/(a^(1/3)*d + (-1)^(1/3)*b^(1/3)*e)])/e^3 - (d^2*p*PolyLog[2, (a^(1/3)*(d + e*x))/(a^(1/3)*
d - (-1)^(2/3)*b^(1/3)*e)])/e^3 + (3*d^2*p*PolyLog[2, 1 + (e*x)/d])/e^3

Rule 2466

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.)*((f_.) + (g_.)*(x_))^(r_.), x_S
ymbol] :> Int[ExpandIntegrand[(a + b*Log[c*(d + e*x^n)^p])^q, x^m*(f + g*x)^r, x], x] /; FreeQ[{a, b, c, d, e,
 f, g, n, p, q}, x] && IntegerQ[m] && IntegerQ[r]

Rule 2448

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)], x_Symbol] :> Simp[x*Log[c*(d + e*x^n)^p], x] - Dist[e*n*p, Int[
x^n/(d + e*x^n), x], x] /; FreeQ[{c, d, e, n, p}, x]

Rule 263

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Int[x^(m + n*p)*(b + a/x^n)^p, x] /; FreeQ[{a, b, m
, n}, x] && IntegerQ[p] && NegQ[n]

Rule 200

Int[((a_) + (b_.)*(x_)^3)^(-1), x_Symbol] :> Dist[1/(3*Rt[a, 3]^2), Int[1/(Rt[a, 3] + Rt[b, 3]*x), x], x] + Di
st[1/(3*Rt[a, 3]^2), Int[(2*Rt[a, 3] - Rt[b, 3]*x)/(Rt[a, 3]^2 - Rt[a, 3]*Rt[b, 3]*x + Rt[b, 3]^2*x^2), x], x]
 /; FreeQ[{a, b}, x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 634

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rule 617

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[(a*c)/b^2]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + (2*c*x)/b], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rule 2455

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))*((f_.)*(x_))^(m_.), x_Symbol] :> Simp[((f*x)^(m
+ 1)*(a + b*Log[c*(d + e*x^n)^p]))/(f*(m + 1)), x] - Dist[(b*e*n*p)/(f*(m + 1)), Int[(x^(n - 1)*(f*x)^(m + 1))
/(d + e*x^n), x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && NeQ[m, -1]

Rule 292

Int[(x_)/((a_) + (b_.)*(x_)^3), x_Symbol] :> -Dist[(3*Rt[a, 3]*Rt[b, 3])^(-1), Int[1/(Rt[a, 3] + Rt[b, 3]*x),
x], x] + Dist[1/(3*Rt[a, 3]*Rt[b, 3]), Int[(Rt[a, 3] + Rt[b, 3]*x)/(Rt[a, 3]^2 - Rt[a, 3]*Rt[b, 3]*x + Rt[b, 3
]^2*x^2), x], x] /; FreeQ[{a, b}, x]

Rule 2462

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))/((f_.) + (g_.)*(x_)), x_Symbol] :> Simp[(Log[f +
 g*x]*(a + b*Log[c*(d + e*x^n)^p]))/g, x] - Dist[(b*e*n*p)/g, Int[(x^(n - 1)*Log[f + g*x])/(d + e*x^n), x], x]
 /; FreeQ[{a, b, c, d, e, f, g, n, p}, x] && RationalQ[n]

Rule 260

Int[(x_)^(m_.)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Simp[Log[RemoveContent[a + b*x^n, x]]/(b*n), x] /; FreeQ
[{a, b, m, n}, x] && EqQ[m, n - 1]

Rule 2416

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((h_.)*(x_))^(m_.)*((f_) + (g_.)*(x_)^(r_.))^(q
_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*Log[c*(d + e*x)^n])^p, (h*x)^m*(f + g*x^r)^q, x], x] /; FreeQ[{a,
 b, c, d, e, f, g, h, m, n, p, q, r}, x] && IntegerQ[m] && IntegerQ[q]

Rule 2394

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))/((f_.) + (g_.)*(x_)), x_Symbol] :> Simp[(Log[(e*(f +
g*x))/(e*f - d*g)]*(a + b*Log[c*(d + e*x)^n]))/g, x] - Dist[(b*e*n)/g, Int[Log[(e*(f + g*x))/(e*f - d*g)]/(d +
 e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n}, x] && NeQ[e*f - d*g, 0]

Rule 2315

Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> -Simp[PolyLog[2, 1 - c*x]/e, x] /; FreeQ[{c, d, e}, x] &
& EqQ[e + c*d, 0]

Rule 2393

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))]*(b_.))/((f_.) + (g_.)*(x_)), x_Symbol] :> Dist[1/g, Subst[Int[(a +
 b*Log[1 + (c*e*x)/g])/x, x], x, f + g*x], x] /; FreeQ[{a, b, c, d, e, f, g}, x] && NeQ[e*f - d*g, 0] && EqQ[g
 + c*(e*f - d*g), 0]

Rule 2391

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> -Simp[PolyLog[2, -(c*e*x^n)]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rubi steps

\begin{align*} \int \frac{x^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{d+e x} \, dx &=\int \left (-\frac{d \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^2}+\frac{x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e}+\frac{d^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^2 (d+e x)}\right ) \, dx\\ &=-\frac{d \int \log \left (c \left (a+\frac{b}{x^3}\right )^p\right ) \, dx}{e^2}+\frac{d^2 \int \frac{\log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{d+e x} \, dx}{e^2}+\frac{\int x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right ) \, dx}{e}\\ &=-\frac{d x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^2}+\frac{x^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{2 e}+\frac{d^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right ) \log (d+e x)}{e^3}+\frac{\left (3 b d^2 p\right ) \int \frac{\log (d+e x)}{\left (a+\frac{b}{x^3}\right ) x^4} \, dx}{e^3}-\frac{(3 b d p) \int \frac{1}{\left (a+\frac{b}{x^3}\right ) x^3} \, dx}{e^2}+\frac{(3 b p) \int \frac{1}{\left (a+\frac{b}{x^3}\right ) x^2} \, dx}{2 e}\\ &=-\frac{d x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^2}+\frac{x^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{2 e}+\frac{d^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right ) \log (d+e x)}{e^3}+\frac{\left (3 b d^2 p\right ) \int \left (\frac{\log (d+e x)}{b x}-\frac{a x^2 \log (d+e x)}{b \left (b+a x^3\right )}\right ) \, dx}{e^3}-\frac{(3 b d p) \int \frac{1}{b+a x^3} \, dx}{e^2}+\frac{(3 b p) \int \frac{x}{b+a x^3} \, dx}{2 e}\\ &=-\frac{d x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^2}+\frac{x^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{2 e}+\frac{d^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right ) \log (d+e x)}{e^3}+\frac{\left (3 d^2 p\right ) \int \frac{\log (d+e x)}{x} \, dx}{e^3}-\frac{\left (3 a d^2 p\right ) \int \frac{x^2 \log (d+e x)}{b+a x^3} \, dx}{e^3}-\frac{\left (\sqrt [3]{b} d p\right ) \int \frac{1}{\sqrt [3]{b}+\sqrt [3]{a} x} \, dx}{e^2}-\frac{\left (\sqrt [3]{b} d p\right ) \int \frac{2 \sqrt [3]{b}-\sqrt [3]{a} x}{b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2} \, dx}{e^2}-\frac{\left (b^{2/3} p\right ) \int \frac{1}{\sqrt [3]{b}+\sqrt [3]{a} x} \, dx}{2 \sqrt [3]{a} e}+\frac{\left (b^{2/3} p\right ) \int \frac{\sqrt [3]{b}+\sqrt [3]{a} x}{b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2} \, dx}{2 \sqrt [3]{a} e}\\ &=-\frac{d x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^2}+\frac{x^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{2 e}-\frac{\sqrt [3]{b} d p \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{\sqrt [3]{a} e^2}-\frac{b^{2/3} p \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{2 a^{2/3} e}+\frac{d^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right ) \log (d+e x)}{e^3}+\frac{3 d^2 p \log \left (-\frac{e x}{d}\right ) \log (d+e x)}{e^3}-\frac{\left (3 a d^2 p\right ) \int \left (\frac{\log (d+e x)}{3 a^{2/3} \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}+\frac{\log (d+e x)}{3 a^{2/3} \left (-\sqrt [3]{-1} \sqrt [3]{b}+\sqrt [3]{a} x\right )}+\frac{\log (d+e x)}{3 a^{2/3} \left ((-1)^{2/3} \sqrt [3]{b}+\sqrt [3]{a} x\right )}\right ) \, dx}{e^3}+\frac{\left (\sqrt [3]{b} d p\right ) \int \frac{-\sqrt [3]{a} \sqrt [3]{b}+2 a^{2/3} x}{b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2} \, dx}{2 \sqrt [3]{a} e^2}-\frac{\left (3 b^{2/3} d p\right ) \int \frac{1}{b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2} \, dx}{2 e^2}-\frac{\left (3 d^2 p\right ) \int \frac{\log \left (-\frac{e x}{d}\right )}{d+e x} \, dx}{e^2}+\frac{\left (b^{2/3} p\right ) \int \frac{-\sqrt [3]{a} \sqrt [3]{b}+2 a^{2/3} x}{b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2} \, dx}{4 a^{2/3} e}+\frac{(3 b p) \int \frac{1}{b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2} \, dx}{4 \sqrt [3]{a} e}\\ &=-\frac{d x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^2}+\frac{x^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{2 e}-\frac{\sqrt [3]{b} d p \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{\sqrt [3]{a} e^2}-\frac{b^{2/3} p \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{2 a^{2/3} e}+\frac{d^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right ) \log (d+e x)}{e^3}+\frac{3 d^2 p \log \left (-\frac{e x}{d}\right ) \log (d+e x)}{e^3}+\frac{\sqrt [3]{b} d p \log \left (b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2\right )}{2 \sqrt [3]{a} e^2}+\frac{b^{2/3} p \log \left (b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2\right )}{4 a^{2/3} e}+\frac{3 d^2 p \text{Li}_2\left (1+\frac{e x}{d}\right )}{e^3}-\frac{\left (\sqrt [3]{a} d^2 p\right ) \int \frac{\log (d+e x)}{\sqrt [3]{b}+\sqrt [3]{a} x} \, dx}{e^3}-\frac{\left (\sqrt [3]{a} d^2 p\right ) \int \frac{\log (d+e x)}{-\sqrt [3]{-1} \sqrt [3]{b}+\sqrt [3]{a} x} \, dx}{e^3}-\frac{\left (\sqrt [3]{a} d^2 p\right ) \int \frac{\log (d+e x)}{(-1)^{2/3} \sqrt [3]{b}+\sqrt [3]{a} x} \, dx}{e^3}-\frac{\left (3 \sqrt [3]{b} d p\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-\frac{2 \sqrt [3]{a} x}{\sqrt [3]{b}}\right )}{\sqrt [3]{a} e^2}+\frac{\left (3 b^{2/3} p\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-\frac{2 \sqrt [3]{a} x}{\sqrt [3]{b}}\right )}{2 a^{2/3} e}\\ &=\frac{\sqrt{3} \sqrt [3]{b} d p \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{\sqrt [3]{a} e^2}-\frac{\sqrt{3} b^{2/3} p \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{2 a^{2/3} e}-\frac{d x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^2}+\frac{x^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{2 e}-\frac{\sqrt [3]{b} d p \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{\sqrt [3]{a} e^2}-\frac{b^{2/3} p \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{2 a^{2/3} e}+\frac{d^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right ) \log (d+e x)}{e^3}+\frac{3 d^2 p \log \left (-\frac{e x}{d}\right ) \log (d+e x)}{e^3}-\frac{d^2 p \log \left (-\frac{e \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{\sqrt [3]{a} d-\sqrt [3]{b} e}\right ) \log (d+e x)}{e^3}-\frac{d^2 p \log \left (-\frac{e \left ((-1)^{2/3} \sqrt [3]{b}+\sqrt [3]{a} x\right )}{\sqrt [3]{a} d-(-1)^{2/3} \sqrt [3]{b} e}\right ) \log (d+e x)}{e^3}-\frac{d^2 p \log \left (\frac{\sqrt [3]{-1} e \left (\sqrt [3]{b}+(-1)^{2/3} \sqrt [3]{a} x\right )}{\sqrt [3]{a} d+\sqrt [3]{-1} \sqrt [3]{b} e}\right ) \log (d+e x)}{e^3}+\frac{\sqrt [3]{b} d p \log \left (b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2\right )}{2 \sqrt [3]{a} e^2}+\frac{b^{2/3} p \log \left (b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2\right )}{4 a^{2/3} e}+\frac{3 d^2 p \text{Li}_2\left (1+\frac{e x}{d}\right )}{e^3}+\frac{\left (d^2 p\right ) \int \frac{\log \left (\frac{e \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{-\sqrt [3]{a} d+\sqrt [3]{b} e}\right )}{d+e x} \, dx}{e^2}+\frac{\left (d^2 p\right ) \int \frac{\log \left (\frac{e \left (-\sqrt [3]{-1} \sqrt [3]{b}+\sqrt [3]{a} x\right )}{-\sqrt [3]{a} d-\sqrt [3]{-1} \sqrt [3]{b} e}\right )}{d+e x} \, dx}{e^2}+\frac{\left (d^2 p\right ) \int \frac{\log \left (\frac{e \left ((-1)^{2/3} \sqrt [3]{b}+\sqrt [3]{a} x\right )}{-\sqrt [3]{a} d+(-1)^{2/3} \sqrt [3]{b} e}\right )}{d+e x} \, dx}{e^2}\\ &=\frac{\sqrt{3} \sqrt [3]{b} d p \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{\sqrt [3]{a} e^2}-\frac{\sqrt{3} b^{2/3} p \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{2 a^{2/3} e}-\frac{d x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^2}+\frac{x^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{2 e}-\frac{\sqrt [3]{b} d p \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{\sqrt [3]{a} e^2}-\frac{b^{2/3} p \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{2 a^{2/3} e}+\frac{d^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right ) \log (d+e x)}{e^3}+\frac{3 d^2 p \log \left (-\frac{e x}{d}\right ) \log (d+e x)}{e^3}-\frac{d^2 p \log \left (-\frac{e \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{\sqrt [3]{a} d-\sqrt [3]{b} e}\right ) \log (d+e x)}{e^3}-\frac{d^2 p \log \left (-\frac{e \left ((-1)^{2/3} \sqrt [3]{b}+\sqrt [3]{a} x\right )}{\sqrt [3]{a} d-(-1)^{2/3} \sqrt [3]{b} e}\right ) \log (d+e x)}{e^3}-\frac{d^2 p \log \left (\frac{\sqrt [3]{-1} e \left (\sqrt [3]{b}+(-1)^{2/3} \sqrt [3]{a} x\right )}{\sqrt [3]{a} d+\sqrt [3]{-1} \sqrt [3]{b} e}\right ) \log (d+e x)}{e^3}+\frac{\sqrt [3]{b} d p \log \left (b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2\right )}{2 \sqrt [3]{a} e^2}+\frac{b^{2/3} p \log \left (b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2\right )}{4 a^{2/3} e}+\frac{3 d^2 p \text{Li}_2\left (1+\frac{e x}{d}\right )}{e^3}+\frac{\left (d^2 p\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{\sqrt [3]{a} x}{-\sqrt [3]{a} d+\sqrt [3]{b} e}\right )}{x} \, dx,x,d+e x\right )}{e^3}+\frac{\left (d^2 p\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{\sqrt [3]{a} x}{-\sqrt [3]{a} d-\sqrt [3]{-1} \sqrt [3]{b} e}\right )}{x} \, dx,x,d+e x\right )}{e^3}+\frac{\left (d^2 p\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{\sqrt [3]{a} x}{-\sqrt [3]{a} d+(-1)^{2/3} \sqrt [3]{b} e}\right )}{x} \, dx,x,d+e x\right )}{e^3}\\ &=\frac{\sqrt{3} \sqrt [3]{b} d p \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{\sqrt [3]{a} e^2}-\frac{\sqrt{3} b^{2/3} p \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{2 a^{2/3} e}-\frac{d x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{e^2}+\frac{x^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )}{2 e}-\frac{\sqrt [3]{b} d p \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{\sqrt [3]{a} e^2}-\frac{b^{2/3} p \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{2 a^{2/3} e}+\frac{d^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right ) \log (d+e x)}{e^3}+\frac{3 d^2 p \log \left (-\frac{e x}{d}\right ) \log (d+e x)}{e^3}-\frac{d^2 p \log \left (-\frac{e \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{\sqrt [3]{a} d-\sqrt [3]{b} e}\right ) \log (d+e x)}{e^3}-\frac{d^2 p \log \left (-\frac{e \left ((-1)^{2/3} \sqrt [3]{b}+\sqrt [3]{a} x\right )}{\sqrt [3]{a} d-(-1)^{2/3} \sqrt [3]{b} e}\right ) \log (d+e x)}{e^3}-\frac{d^2 p \log \left (\frac{\sqrt [3]{-1} e \left (\sqrt [3]{b}+(-1)^{2/3} \sqrt [3]{a} x\right )}{\sqrt [3]{a} d+\sqrt [3]{-1} \sqrt [3]{b} e}\right ) \log (d+e x)}{e^3}+\frac{\sqrt [3]{b} d p \log \left (b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2\right )}{2 \sqrt [3]{a} e^2}+\frac{b^{2/3} p \log \left (b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2\right )}{4 a^{2/3} e}-\frac{d^2 p \text{Li}_2\left (\frac{\sqrt [3]{a} (d+e x)}{\sqrt [3]{a} d-\sqrt [3]{b} e}\right )}{e^3}-\frac{d^2 p \text{Li}_2\left (\frac{\sqrt [3]{a} (d+e x)}{\sqrt [3]{a} d+\sqrt [3]{-1} \sqrt [3]{b} e}\right )}{e^3}-\frac{d^2 p \text{Li}_2\left (\frac{\sqrt [3]{a} (d+e x)}{\sqrt [3]{a} d-(-1)^{2/3} \sqrt [3]{b} e}\right )}{e^3}+\frac{3 d^2 p \text{Li}_2\left (1+\frac{e x}{d}\right )}{e^3}\\ \end{align*}

Mathematica [C]  time = 0.221526, size = 443, normalized size = 0.67 \[ \frac{a x^2 \left (-2 d^2 p \text{PolyLog}\left (2,\frac{\sqrt [3]{a} (d+e x)}{\sqrt [3]{a} d-\sqrt [3]{b} e}\right )-2 d^2 p \text{PolyLog}\left (2,\frac{\sqrt [3]{a} (d+e x)}{\sqrt [3]{a} d+\sqrt [3]{-1} \sqrt [3]{b} e}\right )-2 d^2 p \text{PolyLog}\left (2,\frac{\sqrt [3]{a} (d+e x)}{\sqrt [3]{a} d-(-1)^{2/3} \sqrt [3]{b} e}\right )+6 d^2 p \text{PolyLog}\left (2,\frac{e x}{d}+1\right )+2 d^2 \log (d+e x) \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )-2 d e x \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )+e^2 x^2 \log \left (c \left (a+\frac{b}{x^3}\right )^p\right )-2 d^2 p \log (d+e x) \log \left (\frac{e \left (\sqrt [3]{-1} \sqrt [3]{b}-\sqrt [3]{a} x\right )}{\sqrt [3]{a} d+\sqrt [3]{-1} \sqrt [3]{b} e}\right )-2 d^2 p \log (d+e x) \log \left (\frac{e \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )}{\sqrt [3]{b} e-\sqrt [3]{a} d}\right )-2 d^2 p \log (d+e x) \log \left (\frac{e \left (\sqrt [3]{a} x+(-1)^{2/3} \sqrt [3]{b}\right )}{(-1)^{2/3} \sqrt [3]{b} e-\sqrt [3]{a} d}\right )+6 d^2 p \log \left (-\frac{e x}{d}\right ) \log (d+e x)\right )+3 b d e p \, _2F_1\left (\frac{2}{3},1;\frac{5}{3};-\frac{b}{a x^3}\right )-3 b e^2 p x \, _2F_1\left (\frac{1}{3},1;\frac{4}{3};-\frac{b}{a x^3}\right )}{2 a e^3 x^2} \]

Antiderivative was successfully verified.

[In]

Integrate[(x^2*Log[c*(a + b/x^3)^p])/(d + e*x),x]

[Out]

(-3*b*e^2*p*x*Hypergeometric2F1[1/3, 1, 4/3, -(b/(a*x^3))] + 3*b*d*e*p*Hypergeometric2F1[2/3, 1, 5/3, -(b/(a*x
^3))] + a*x^2*(-2*d*e*x*Log[c*(a + b/x^3)^p] + e^2*x^2*Log[c*(a + b/x^3)^p] + 2*d^2*Log[c*(a + b/x^3)^p]*Log[d
 + e*x] + 6*d^2*p*Log[-((e*x)/d)]*Log[d + e*x] - 2*d^2*p*Log[(e*((-1)^(1/3)*b^(1/3) - a^(1/3)*x))/(a^(1/3)*d +
 (-1)^(1/3)*b^(1/3)*e)]*Log[d + e*x] - 2*d^2*p*Log[(e*(b^(1/3) + a^(1/3)*x))/(-(a^(1/3)*d) + b^(1/3)*e)]*Log[d
 + e*x] - 2*d^2*p*Log[(e*((-1)^(2/3)*b^(1/3) + a^(1/3)*x))/(-(a^(1/3)*d) + (-1)^(2/3)*b^(1/3)*e)]*Log[d + e*x]
 - 2*d^2*p*PolyLog[2, (a^(1/3)*(d + e*x))/(a^(1/3)*d - b^(1/3)*e)] - 2*d^2*p*PolyLog[2, (a^(1/3)*(d + e*x))/(a
^(1/3)*d + (-1)^(1/3)*b^(1/3)*e)] - 2*d^2*p*PolyLog[2, (a^(1/3)*(d + e*x))/(a^(1/3)*d - (-1)^(2/3)*b^(1/3)*e)]
 + 6*d^2*p*PolyLog[2, 1 + (e*x)/d]))/(2*a*e^3*x^2)

________________________________________________________________________________________

Maple [F]  time = 0.718, size = 0, normalized size = 0. \begin{align*} \int{\frac{{x}^{2}}{ex+d}\ln \left ( c \left ( a+{\frac{b}{{x}^{3}}} \right ) ^{p} \right ) }\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*ln(c*(a+b/x^3)^p)/(e*x+d),x)

[Out]

int(x^2*ln(c*(a+b/x^3)^p)/(e*x+d),x)

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*log(c*(a+b/x^3)^p)/(e*x+d),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{x^{2} \log \left (c \left (\frac{a x^{3} + b}{x^{3}}\right )^{p}\right )}{e x + d}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*log(c*(a+b/x^3)^p)/(e*x+d),x, algorithm="fricas")

[Out]

integral(x^2*log(c*((a*x^3 + b)/x^3)^p)/(e*x + d), x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*ln(c*(a+b/x**3)**p)/(e*x+d),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2} \log \left ({\left (a + \frac{b}{x^{3}}\right )}^{p} c\right )}{e x + d}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*log(c*(a+b/x^3)^p)/(e*x+d),x, algorithm="giac")

[Out]

integrate(x^2*log((a + b/x^3)^p*c)/(e*x + d), x)